package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.entity.Reservation;
import com.zzyl.vo.NursingProjectVo;
import com.zzyl.vo.ReservationVo;

import java.util.List;

public interface ReservationService {
  Long getCount();


  void addReservation(Reservation reservationDto);

  List<ReservationVo>  getCountByTime(Long time);

  PageResponse<ReservationVo> getByPage(Integer status, Integer pageNum, Integer pageSize);

  void cancel(Long id);

  void expired();
}
